<!DOCTYPE HTML>
<html xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <link rel="stylesheet" href="../css/currency/bootstrap.css"/>
    <link href="../css/H-ui.min.css" rel="stylesheet" type="text/css"/>
    <link href="../css/H-ui.admin.css" rel="stylesheet" type="text/css"/>
    <link href="../css/style.css" rel="stylesheet" type="text/css"/>
    <link href="../lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="../css/recipe.css"/>

    <title>合作商每日结算</title>
</head>

<body>
<nav class="breadcrumb" style="margin-bottom:0px"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span
        class="c-gray en">&gt;</span> 终端广告 <span class="c-gray en">&gt;</span>合作商每日结算
    <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px"
       href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i></a>
</nav>
<div class="pd-20" id="contract">
    <div class="text-c" id="advPriceList">
        <form search-form>
            <!-- TODO 根据业务需要修改搜索内容-->
            <input type="text" class="input-text" style="width:200px" name="key" placeholder="设备编号"
                   v-model="condition.equipmentCode">
            <span class="select-box" style="width:150px;">
                    <select id="equipmentSource" class="select" v-model="condition.equipmentSource">
                        <option value="">-请选择终端商-</option>
                        <option v-for="p in dictBusiness" :value="p.code">{{p.name}}</option>
                    </select>
                </span>
            <span class="select-box" style="width:150px;">
                <select id="status" class="select" v-model="condition.status">
                     <option value="">-请选择状态-</option>
                     <option value="0">失效</option>
                     <option value="1">有效</option>
                </select>
            </span>
            <span>
                <input type="text" v-model="condition.startDate" id="startDate-d" name="startDate"
                       @focus="changeTime('startDate-d')"
                       onfocus="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd'})"
                       class="input-text Wdate" style="width:160px;" placeholder="开始时间">-
                <input type="text" v-model="condition.overDate" id="overDate-d" name="overDate"
                       @focus="changeTime('overDate-d')"
                       onfocus="WdatePicker({skin:'default',dateFmt:'yyyy-MM-dd'})"
                       class="input-text Wdate" style="width:160px;" placeholder="结束时间">
            </span>
            <div id="selectBtnEnter" class="btn btn-primary" v-on:click="getList('search')">查询</div>
        </form>
        <form>
            <table class="table table-border table-bordered table-bg">
                <thead>
                <tr class="text-c">
                    <!--TODO 生成表头-->
                    <th nowrap="nowrap">终端商</th>
                    <th nowrap="nowrap">设备编号</th>
                    <th nowrap="nowrap">播放日期</th>
                    <th nowrap="nowrap">播放总量</th>
                    <th nowrap="nowrap">价格类型</th>
                    <th nowrap="nowrap">播放价格</th>
                    <th nowrap="nowrap">播放收入</th>
                    <th nowrap="nowrap">创建日期</th>
                </tr>
                </thead>
                <tbody v-cloak>
                <tr id="aaa" class="text-c" v-for="(item,index) in pageInfo.list">
                    <th nowrap="nowrap">
                        <span v-if="item.equipmentSource=='1'">奥森</span>
                        <span v-else-if="item.equipmentSource=='2'">万物通</span>
                        <span v-else-if="item.equipmentSource=='3'">易呗</span>
                        <span v-else-if="item.equipmentSource=='4'">拍乐多</span>
                        <span v-else-if="item.equipmentSource=='5'">广东奥森</span>
                    </th>
                    <td nowrap="nowrap">{{item.equipmentCode}}</td>
                    <td nowrap="nowrap">{{item.playDate}}</td>
                    <td nowrap="nowrap">{{item.playNum}}</td>
                    <th nowrap="nowrap">
                        <span v-if="item.priceType=='1'">系统价</span>
                        <span v-if="item.priceType=='2'">自主价</span>
                    </th>
                    <td nowrap="nowrap">{{item.playPrice}}</td>
                    <td nowrap="nowrap">{{item.playIncome}}</td>
                    <td nowrap="nowrap">{{item.createTime}}</td>
                </tr>
                </tbody>
            </table>
        </form>

        <div class="pageBox" v-cloak id="pageBox">
            <div class="pageInfo">显示 <span id="startRow">{{pageInfo.startRow}}</span> 到 <span id="endRow">{{pageInfo.endRow}}条</span>&nbsp;&nbsp;&nbsp;&nbsp;{{pageInfo.pages}}页&nbsp;&nbsp;&nbsp;&nbsp;共
                <span id="total">{{pageInfo.total}}</span> 条
                <select v-model="selectedPageSize" v-on:change="getList('changePageSize')">
                    <option value="5">5</option>
                    <option value="10">10</option>
                    <option value="15">15</option>
                    <option value="20">20</option>
                    <option value="50">50</option>
                </select>
            </div>
            <ul class="pagination" id="pagination"></ul>
        </div>
        <div class="tips" id="noData" align="center" style="display: none">
            无数据
        </div>
    </div>

</div>
</body>

</html>
<script type="text/javascript" src="../js/common/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="../lib/layer/1.9.3/layer.js"></script>
<script type="text/javascript" src="../lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="../lib/icheck/jquery.icheck.min.js"></script>
<script type="text/javascript" src="../lib/Validform/5.3.2/Validform.min.js"></script>
<script type="text/javascript" src="../lib/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../js/common/H-ui.js"></script>
<script type="text/javascript" src="../js/common/H-ui.admin.js"></script>
<script type="text/javascript" src="../js/utils/utils.js"></script>
<script type="text/javascript" src="../js/currency/vue.js"></script>
<script type="text/javascript" src="../js/currency/vue-resource.min.js"></script>
<script type="text/javascript" src="../js/currency/base.js"></script>
<script type="text/javascript" src="../js/currency/jqPaginator.js"></script>
<script type="text/javascript" src="../js/calculatedPrice.js"></script>